package com.chalk.model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author glq
 * @since 2020-12-10
 */

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_sport_event")
@ApiModel(value="SportEvent对象", description="运动类型")
public class SportEvent implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "运动项目id")
    @TableId(value = "se_id", type = IdType.AUTO)
    @JsonProperty("seId")
    private Integer seId;

    @ApiModelProperty(value = "运动项目名称")
    @JsonProperty("seName")
    private String seName;

    @ApiModelProperty(value = "运动项目logo")
    @JsonProperty("seLogo")
    private String seLogo;

    @ApiModelProperty(value = "创建时间")
    @JsonProperty("createTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    @JsonProperty("updateTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否被删除 0 未删除 1已删除")
    @JsonProperty("isDelete")
    private Integer isDelete;


}
